package com.zeroone.star.project.dto.systemhome;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @BelongsProject: oa-java
 * @BelongsPackage: com.zeroone.star.project.dto.systemhome
 * @Author: dashuai
 * @CreateTime: 2024-11-17  20:21
 * @Description: 日程信息表
 * @Version: 1.0
 */
@Data
@ApiModel(description = "日程信息传输对象")
public class ScheduleDTO {
    @ApiModelProperty(value = "日程标题", example = "KTV")
    private String xtitle;

    @ApiModelProperty(value = "日程开始时间", example = "2024-11-17 20:21")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime xstartTime;

    @ApiModelProperty(value = "日程结束时间", example = "2024-11-17 21:21")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime xendTime;
}
